package classrecord;

import classrecord.classes.database.studenthomeaddresstbl.STUDENTHOMEADDRESSTBLDao;
import classrecord.classes.database.studenthomeaddresstbl.STUDENTHOMEADDRESSTBLDomain;

public class InsertIntoStudentHomeAddressTbl {
	
	public static void main(String[] args) {
		
		STUDENTHOMEADDRESSTBLDomain studenthomeaddresstblDomain = new STUDENTHOMEADDRESSTBLDomain();
		studenthomeaddresstblDomain.setStudentNumber("2005005333");
		studenthomeaddresstblDomain.setHomeAddress("94 int. Libertad St. Mandaluyong City");
		
		STUDENTHOMEADDRESSTBLDao studenthomeaddresstblDao = new STUDENTHOMEADDRESSTBLDao();
		studenthomeaddresstblDao.setStudenthomeaddresstblDomain(studenthomeaddresstblDomain);
		
		boolean wasInserted = studenthomeaddresstblDao.add();
		System.out.println("wasInserted: " + wasInserted);
		
	}

}
